package com.gigalaxy.flex.skins.starcom.flight
{
	import com.gigalaxy.apps.starcom.flight.AssetManager;

	import mx.core.DPIClassification;

	import spark.skins.mobile.supportClasses.SelectableButtonSkinBase;

	public class SkinRadioButtonSF extends SelectableButtonSkinBase
	{
		static private const exclusions:Array = ["labelDisplay", "labelDisplayShadow"];

		public function SkinRadioButtonSF()
		{
			super();

			layoutPaddingLeft = 0;
			layoutPaddingRight = 0;
			layoutPaddingTop = 0;
			layoutPaddingBottom = 0;

			switch (applicationDPI)
			{
				case DPIClassification.DPI_320:
				{
					layoutGap = 20;
					minWidth = 64;
					minHeight = 64;

					break;
				}
				case DPIClassification.DPI_240:
				{
					layoutGap = 15;
					minWidth = 48;
					minHeight = 48;

					break;
				}
				default:
				{
					layoutGap = 10;
					minWidth = 32;
					minHeight = 32;

					break;
				}
			}

			upIconClass = AssetManager.SkinRadioButtonUp;
			upSelectedIconClass = AssetManager.SkinRadioButtonDown;
			downIconClass = AssetManager.SkinRadioButtonUp;
			downSelectedIconClass = AssetManager.SkinRadioButtonDown;
		/*
		upSymbolIconClass = AssetManager.SkinRadioButtonUp;
		downSymbolIconClass = AssetManager.SkinRadioButtonDown;
		upSymbolIconSelectedClass = AssetManager.SkinRadioButtonUp;
		downSymbolIconSelectedClass = AssetManager.SkinRadioButtonUp;
		//*/
		}

		override protected function get focusSkinExclusions():Array
		{
			return exclusions;
		}
	}
}
